<!DOCTYPE html>
<html>
<#include "../head.html">
    <body>
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="修改比赛记录">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                                <div class="toolbor-module search">
                                    <input type="button" class="input-button return" value="返回" onclick="location.href='/admin/match/queryMatchInfoList.html'">
                                </div>
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form id="cust" name="form1" method="post" action="/admin/match/modifyMatchInfo.html"  enctype="multipart/form-data">
                                    <div class="valBox w750">
                                        <div class="top">
                                            <strong>修改比赛记录</strong>
                                        </div>
                                        <div class="val clearfix">
                                           <ul>
                                                <li>
                                                    <div class="title">主队：</div>
                                                    <div class="v">
                                                    	    <input type="text"  name="homeTeam" style="width:250px;" value="<#if match??>${match.homeTeam!''}<#else></#if>"></input>
                                                    </div>
                                                </li>
                                              	<li>
                                                    <div class="title">客队：</div>
                                                    <div class="v">
                                                    	    <input type="text"  name="guestTeam" style="width:250px;" value="<#if match??>${match.guestTeam!''}<#else></#if>"></input>
                                                    </div>
                                                </li>
                                                
                                                <li>
                                                    <div class="title">主队LOGOURL：</div>
                                                    <div class="v">
															<img alt="" src="<#if match??>${match.homeLogoUrl!''}<#else></#if>">                                                    	    
                                                    	    <input type='file' name='homeFiles' value='' style="width:250px;" id='files'/>
                                                    </div>
                                                </li>
                                              	<li>
                                                    <div class="title">客队LOGOURL：</div>
                                                    <div class="v">
                                                    	    <img alt="" src="<#if match??>${match.guestLogoUrl!''}<#else></#if>">
                                                    	    <input type='file' name='guestFiles' value='' style="width:250px;" id='files'/>
                                                    </div>
                                                </li>
                                                
                                                <!--  8==1/8决赛，  4==1/4决赛， 2==1/2决赛 ，3=季军赛 ，1== 总决赛-->
                                                <li>
                                                    <div class="title">比赛类型</div>
                                                    <div class="v">
                                                    	<select name="type" style="min-width:124px">
															<option value="8" <#if match??><#if match.type=8>selected</#if><#else></#if>>1/8决赛</option>
															<option value="4" <#if match??><#if match.type=4>selected</#if><#else></#if>>1/4决赛</option>
															<option value="2" <#if match??><#if match.type=2>selected</#if><#else></#if>>半决赛 </option>
															<option value="3" <#if match??><#if match.type=3>selected</#if><#else></#if>>季军赛 </option>
															<option value="1" <#if match??><#if match.type=1>selected</#if><#else></#if>>总决赛</option>
                                                    	</select>

                                                    </div>
                                                </li>   
                                                
                                                
                                                <li>
                                                    <div class="title">比赛日期：</div>
                                                    <div class="v">
                                                    	<input type="text" name="matchDate" value="<#if match??><#if match.matchDate??>${(match.matchDate)?string('yyyy-MM-dd HH:mm:ss')}<#else></#if></#if>" style="width:250px;" onclick="change_picktime('yyyy-MM-dd HH:mm:ss')" readonly/>
                                                    	
                                                    </div>
                                                </li>
                                                
                                                 <li>
                                                    <div class="title">开始日期：</div>
                                                    <div class="v">
                                                    	<input type="text" name="startDate" value="<#if match??><#if match.startDate??>${(match.startDate)?string('yyyy-MM-dd HH:mm:ss')}<#else></#if></#if>" style="width:250px;" onclick="change_picktime('yyyy-MM-dd HH:mm:ss')" readonly/>
                                                    	
                                                    </div>
                                                </li>
                                                
                                                <li>
                                                    <div class="title">结束日期：</div>
                                                    <div class="v">
                                                    	<input type="text" name="endDate" value="<#if match??><#if match.endDate??>${(match.endDate)?string('yyyy-MM-dd HH:mm:ss')}<#else></#if></#if>" style="width:250px;" onclick="change_picktime('yyyy-MM-dd HH:mm:ss')" readonly/>
                                                    	
                                                    </div>
                                                </li>
 
                                                                                         
                                            </ul>
                                            <div class="other">
                                                <input type="hidden"  name="actionType" value="modify" />
                                                
                                                <input type="hidden"  name="id" value="<#if match??>${match.id}</#if>">
                                                
                                                <input type="submit"  name="reset" value="修改" class="input-button confirm"/>
                                            </div>
                                        </div>
                                    </div>

                                </form>

                            </div>
            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>
    </body>
</html>

<#include "../jsPage.html">
